<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="/assets/public/img/user.png">

    <title><?=$title?></title>

    <!-- 框架 -->
    <script src="/assets/frameworks/jquery/jquery.min.2.2.js"></script>
    <link href="/assets/frameworks/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="/assets/frameworks/bootstrap/js/bootstrap.min.js"></script>
    <link href="/assets/frameworks/font-awesome/css/font-awesome.min.css" rel="stylesheet">

    <!-- 插件 -->
    <script src="https://cdn.bootcss.com/jquery-validate/1.17.0/jquery.validate.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-validate/1.17.0/localization/messages_zh.js"></script>

    <!-- 引入自定义样式 -->
    <link href="/assets/public/css/main.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->

</head>

<body>

<!-- 静态导航 -->
<div class="navbar navbar-inverse navbar-static-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="/">
                <img width="250px" src="/assets/public/img/home.png" alt="Li Lijie - 个人博客">
            </a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li>
                    <a href="/about">
                        <span class="fa fa-eercast"> 关于</span>
                    </a>
                </li>
                <li>
                    <a href="/blog/tid">
                        <span class="fa fa-eercast"> 博客</span>
                    </a>
                </li>
                <li>
                    <a href="/contact">
                        <span class="fa fa-eercast"> 联系我</span>
                    </a>
                </li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</div>